<template>
    <div>
    <div class="row">
      <BannerComponent/>
    </div>
    <div class="row">
      <div class="col-xs-2 col-xs-offset-2">
        <div class="list-group">
          <!-- <a class="list-group-item active" href="./about.html">About</a>
          <a class="list-group-item" href="./home.html">Home</a> -->
          <router-link replace class="list-group-item" to="/about" active-class="active">About</router-link>
          <router-link replace class="list-group-item" to="/home" active-class="active">Home</router-link>
        </div>
      </div>
      <div class="col-xs-6">
        <div class="panel">
          <div class="panel-body">
            <router-view>I guess is default content</router-view>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
    import BannerComponent from './components/Banner.vue'
    export default {
        name: 'App',
        components: {
            BannerComponent
        },
         
      }
</script>
 
<!-- 全局样式 -->
<style>
    .container { 
        display: flex;
        justify-content: space-around;
        border: 1px solid rgb(102, 174, 212);
    }
    img {
        width: 100%;
    }
</style>